Re: [NTG-context] repeat a page inside a document

2020-02-06 Thread Wolfgang Schuster
\scale[width=\textwidth]{a} > \scale[width=\textwidth]{b} > > \doifmode{*first}{\executesystemcommand{rm zikaasd.abh}} > > \startnotmode[*first] > \ifnum\lastpagenumber<2 > \executesystemcommand{touch zikaasd.abh} > \fi > >

Re: [NTG-context] repeat a page inside a document

2020-02-06 Thread Pablo Rodriguez
bh} \fi \doiffileexistselse{zikaasd.abh}{% \startlayout[page] \directboxfromcache{savedpages}{1} \stoplayout}{} \stopnotmode \stoptext I wonder whether there is a better way of doing this. At least, creating and removing empty files with Lua would be more portable.

Re: [NTG-context] repeat a page inside a document

2020-02-06 Thread Pablo Rodriguez
{8} > {\expanded{\chapter{Chapter \recurselevel}} >\dorecurse{\recurselevel}{\samplefile{weisman}}} > > \startlayout[page] > \directboxfromcache{savedpages}{5} > \page > \directboxfromcache{savedpages}{2} > \stoplayout > > \stoptext -- http://www.ousia.tk

Re: [NTG-context] repeat a page inside a document

2020-02-06 Thread Wolfgang Schuster
\dorecurse{\recurselevel}{\samplefile{weisman}}} \startlayout[page] \directboxfromcache{savedpages}{5} \page \directboxfromcache{savedpages}{2} \stoplayout \stoptext Wolfgang ___ If your question is of interest to